import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import './assets/main.css'
// 导入store 仓库
import store from '@/store';
const app = createApp(App)
app.use(router)
//03: 将store 仓库挂载到根实例上这样每一个组件都可以访问到该仓库中的数据了
app.use(store)

app.mount('#app')
